 /*///////////////////////////////////////////////////////////////////////////////
-- Author:      liuhx
-- Created:     Mon Aug 26 17:25:15 CST 2019
-- Description:
-- If you have any question,please email to liuhx@gentlesoft.com.cn
////////////////////////////////////////////////////////////////////////////////*/
package com.ctsi.question.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import java.io.Serializable;
/**
 * 日报表
 * @author   liuhx
 * @description  日报表
 * @created	 Mon Aug 26 17:25:15 CST 2019
 */

@Entity(name = "t_day_report")
public class DayReportEntity implements Serializable {
	/**
	 * 主键
	 */
	@Id
	private String id;
	/**
	 * 日报内容
	 */
	@Lob
	private String content;
	/**
	 * 日报创建时间
	 */
	@Column
	private Long createTime;
	/**
	 * 日报类型
	 */
	@Column
	private Integer reportType;
	/**
	 * 提交者ID
	 */
	@Column
	private String userId;
	/**
	 * 数据权限ID
	 */
	@Column
	private String dataObjectId;
	/**
	 * 部门
	 */
	@Column
	private String departMent;
	/**
	 * 提交者姓名
	 */
	@Column
	private String postMan;

	/**
	 * 是否删除字段
	 */
	@Column
	private Integer is_delete;

	/**
	 * 是否已阅
	 */
	@Column
	private Integer is_read;

	private String personId;
	private String personName;
	private Integer isWrite;

	public DayReportEntity(){}

	public DayReportEntity(String id){
		this.id=id;
	}
	/**
	 * 获得 主键
	 * @return this.id
	 */
	public String getId(){
		return this.id;
	}
	/**
	 * 设置 主键
	 * @param id
	 */
	public void setId(String id){
		this.id=id;
	}

	/**
	 * 获得 日报内容
	 * @return this.content
	 */
	public String getContent(){
		return this.content;
	}
	/**
	 * 设置 日报内容
	 * @param content
	 */
	public void setContent(String content){
		this.content=content;
	}

	/**
	 * 获得 日报创建时间
	 * @return this.createTime
	 */
	public Long getCreateTime(){
		return this.createTime;
	}
	/**
	 * 设置 日报创建时间
	 * @param createTime
	 */
	public void setCreateTime(Long createTime){
		this.createTime=createTime;
	}

	/**
	 * 获得 日报类型
	 * @return this.reportType
	 */
	public Integer getReportType(){
		return this.reportType;
	}
	/**
	 * 设置 日报类型
	 * @param reportType
	 */
	public void setReportType(Integer reportType){
		this.reportType=reportType;
	}

	/**
	 * 获得 提交者ID
	 * @return this.userId
	 */
	public String getUserId(){
		return this.userId;
	}
	/**
	 * 设置 提交者ID
	 * @param userId
	 */
	public void setUserId(String userId){
		this.userId=userId;
	}

	/**
	 * 获得 数据权限ID
	 * @return this.dataObjectId
	 */
	public String getDataObjectId(){
		return this.dataObjectId;
	}
	/**
	 * 设置 数据权限ID
	 * @param dataObjectId
	 */
	public void setDataObjectId(String dataObjectId){
		this.dataObjectId=dataObjectId;
	}

	/**
	 * 获得 部门
	 * @return this.departMent
	 */
	public String getDepartMent(){
		return this.departMent;
	}
	/**
	 * 设置 部门
	 * @param departMent
	 */
	public void setDepartMent(String departMent){
		this.departMent=departMent;
	}

	/**
	 * 获得 提交者姓名
	 * @return this.postMan
	 */
	public String getPostMan(){
		return this.postMan;
	}
	/**
	 * 设置 提交者姓名
	 * @param postMan
	 */
	public void setPostMan(String postMan){
		this.postMan=postMan;
	}

	public Integer getIs_delete() {
		return is_delete;
	}

	public void setIs_delete(Integer is_delete) {
		this.is_delete = is_delete;
	}

	public Integer getIs_read() {
		return is_read;
	}

	public void setIs_read(Integer is_read) {
		this.is_read = is_read;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public Integer getIsWrite() {
		return isWrite;
	}

	public void setIsWrite(Integer isWrite) {
		this.isWrite = isWrite;
	}
}
